package com.xiao.webtest.dao;

import com.xiao.webtest.DataSource;
import com.xiao.webtest.entity.UserEntity;

import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2014/11/15.
 */
public interface UserDao{

    public UserEntity getById(long id);

    public int update(UserEntity user);
    
    public UserEntity getByName(String name);
}
